<%@ Control Language="c#" AutoEventWireup="True" Codebehind="HeaderControl.ascx.cs" Inherits="Votations.NSurvey.WebAdmin.UserControls.HeaderControl" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>



<table cellSpacing=0 cellPadding=0 width="100%" border=0>
  <tr>
    <td class=headerCell colSpan=2><a 
      href="http://www.nsurvey.org"><IMG src="/admin/Survey/images/header.gif" border=0 ></a></td>
  <tr>
    <td class=menuCell colSpan=2><asp:datalist id=MainMenuDataList CssClass="menuTable" RepeatDirection="Horizontal" runat="server">
<SelectedItemTemplate>
<asp:HyperLink ForeColor = "white" EnableViewState="false" navigateurl='<%#menuItems[Container.DataItem.ToString()]%>' runat="server" ID="Hyperlink1" NAME="Hyperlink1"><%# Container.DataItem.ToString() %></asp:HyperLink></ItemTemplate>
</SelectedItemTemplate>

<ItemTemplate>
<asp:HyperLink id="MenuHyperLink" EnableViewState="false" navigateurl='<%#menuItems[Container.DataItem.ToString()]%>' runat="server"><%# Container.DataItem.ToString() %></asp:HyperLink>
</ItemTemplate>

<SeparatorTemplate>
<img src="/admin/Survey/images/menuseparator.gif" align="top">
</SeparatorTemplate>

<AlternatingItemTemplate>
<asp:HyperLink EnableViewState="false" navigateurl='<%#menuItems[Container.DataItem.ToString()]%>' runat="server" id="MenuHyperLink" NAME="Hyperlink12"><%# Container.DataItem.ToString() %></asp:HyperLink>
</AlternatingItemTemplate>
</asp:datalist></td></tr><asp:placeholder id=subMenuPlaceHolder 
   Runat="server">
  <TR>
    <TD class=subMenuCell><asp:DataList id=SubMenuDatalist CssClass="subMenuTable" RepeatDirection="Horizontal" runat="server">

<ItemTemplate><asp:HyperLink EnableViewState="false" navigateurl='<%#subMenuItems[Container.DataItem.ToString()]%>' runat="server"><%# Container.DataItem.ToString() %></asp:HyperLink></ItemTemplate>

<SeparatorTemplate>
<img src="/admin/Survey/images/submenuseparator.gif" align="top">
</SeparatorTemplate>

</asp:DataList></TD></TR></asp:placeholder></table>
